/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package MainClass;

/**
 *
 * @author 威
 */
public class User {
    
    private String username;
    private String password;
    private String address;
    private Goods[] GoodsList;//之后补充
      public User() {

}
    public User(String username, String password) {
	this.username = username;
	this.password = password;
}

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    
    @Override
    public String toString() {
        return "Hello！" + username ;
    }

	
    
}
